home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
L' Effet Pommier 2
/
L'Effet Pommier - Volume 02.iso
/
Echecs
/
GNU Chess 3.0
/
Gnu Chess Source
/
DragMgr.h
< prev
next >
Wrap
Text File
|
1992-03-10
|
853b
|
33 lines
/*
D'aprÅs Scott T. Boyd of the MacHax Group
Utilisation: Cf MacTutor v3 ní7 [July '87]
Modifications pour l'adaptation ê une fenÉtre : Airy ANDRE
Interface C : Airy ANDRE
*/
typedef struct ShadowRecord {
Boolean visible;
int dx,dy;
int CopyMode;
} ShadowRecord;
typedef struct DragRecord {
BitMap ShadowBits, UnderShadowBits,UnderBits,PictureBits;
RgnHandle ShadowRegion,ThePictureRgn;
} DragRecord, *DragPtr, **DragHandle;
extern ShadowRecord ShadowStuff;
extern BitMap OffScreenBits;
extern Boolean InitDrag(BitMapPtr, Rect *);
extern Boolean NewDraggable(PicHandle, PicHandle, BitMapPtr, BitMapPtr,
DragHandle *);
extern void DragItTo(DragHandle, Point, Boolean, Boolean);
extern void DisposeDraggable(DragHandle);
extern void UpdateOffScreen(void);
extern void CloseDrag(Boolean);
extern Rect * GetLastRect(void);